package com.stenio.fancat.mapper.user;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.stenio.fancat.domain.user.UserPraise;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 用户点赞
 */
@Repository
public interface UserPraiseMapper extends BaseMapper<UserPraise> {

    List<UserPraise> selectPraise(String operationId);

    Integer deletePraise(String operationId);

    Integer insertPraise(String operationId,String userId,String babyId);

    UserPraise selectPraiseById(String operationId,String userId);

}
